<template>
    <div>
        <Table :columns="columns1" :data="data1" border></Table>
    </div>
</template>
<script>
    export default {
        props: {
            row: Object
        },
        data () {
            return {
                columns1: [
                    {
                        title: '项目',
                        key: 'project'
                    },
                    {
                        title: '诊室',
                        key: 'room'
                    },
                    {
                        title: '治疗人数',
                        key: 'PersonTime'
                    },
                    {
                        title: '治疗人次',
                        key: 'Number'
                    },
                    {
                        title: '治疗频率',
                        key: 'frequency'
                    },
                    {
                        title: '治疗量',
                        key: 'int'
                    },
                    {
                        title: '人均用量',
                        key: 'PTime'
                    },
                    {
                        title: '购买量',
                        key: 'purchase'
                    },
                    {
                        title: '人均购买',
                        key: 'perPurchase'
                    }
                ],
                data1: [
                    {
                        project: '308',
                        room: '一诊',
                        PersonTime: 265,
                        Number: 21,
                        frequency: '1.04',
                        int: 308,
                        PTime: '1.3',
                        purchase: 56,
                        perPurchase: '536'
                    },
                    {
                        project: '308',
                        room: '二诊',
                        PersonTime: 265,
                        Number: 21,
                        frequency: '1.04',
                        int: 308,
                        PTime: '1.3',
                        purchase: 56,
                        perPurchase: '536'
                    },
                    {
                        project: '308',
                        room: '三诊',
                        PersonTime: 265,
                        Number: 21,
                        frequency: '1.04',
                        int: 308,
                        PTime: '1.3',
                        purchase: 56,
                        perPurchase: '536'
                    },
                    {
                        project: '308',
                        room: '四诊',
                        PersonTime: 265,
                        Number: 21,
                        frequency: '1.04',
                        int: 308,
                        PTime: '1.3',
                        purchase: 56,
                        perPurchase: '536'
                    },
                    {
                        project: '308',
                        room: '五诊',
                        PersonTime: 265,
                        Number: 21,
                        frequency: '1.04',
                        int: 308,
                        PTime: '1.3',
                        purchase: 56,
                        perPurchase: '536'
                    }
                ]
            }
        }
    };
</script>
